package org.example.coupon.service;


import org.example.core.utils.PageUtils;
import org.example.coupon.bo.SeckillSkuRelationBo;
import org.example.coupon.entity.SeckillSkuRelationEntity;
import org.example.coupon.to.SkuSeckillTo;
import org.example.coupon.vo.SeckillSkuRelationVo;

import java.util.List;

/**
 * @author xiaojie_cc
 * @version 1.0
 */
public interface SeckillSkuRelationService{

    int addSeckillSkuRelation(SeckillSkuRelationBo seckillSkuRelationBo);

    // 查询数量
    Integer getCount(Long promotionId, Long sessionId);

    PageUtils getSkuRelationList(Integer pageNum, Integer pageSize, Long promotionId, Long sessionId);

    void update(SeckillSkuRelationEntity seckillSkuRelation);

    void delete(List<Long> ids);

    List<SkuSeckillTo> regularSeckill();

}

